package com.biz.primus.model.order.vo.aftersale;

import com.biz.primus.model.order.enums.ReturnState;
import com.biz.primus.model.order.enums.ReturnType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 退货(售后)申请订单请求模型
 *
 * @author Tiger Feng
 * @date 2017年11月18日
 */
@Data
@NoArgsConstructor
@ApiModel("退货(售后)申请订单请求模型")
public class ReturnOrderRequestVO implements Serializable {
    private static final long serialVersionUID = -8337422473126036793L;

    @ApiModelProperty(
            value = "商品项",
            required = true)
    private List<ReturnOrderItemRequestVO> items;

    @ApiModelProperty(
            value = "订单编号",
            required = true)
    private String orderCode;
    @ApiModelProperty(
            value = "退货(售后)类型",
            required = true,
            notes = "\"REFUND_AND_SALES_RETURN\":\"退款并退货\",\"REFUND_AND_NO_RETURN\":\"退款不退货\"")
    private ReturnType returnType;
    @ApiModelProperty(value = "退货单状态",
            notes = "\"DISAGREE\":\"审核未通过\",\"AUDITING\":\"审核中\",\"REFUNDED\":\"已退款\",\"CANCELED\":\"已取消\",\"WAIT_REFUND\":\"待退款\",\"RETURNING\":\"退货中\"")
    private ReturnState returnState;

    @ApiModelProperty("退货(售后)用户问题描述")
    private String returnUserDescription;
    @ApiModelProperty("退货(售后)用户上传图片列表，最多3张")
    private List<String> returnUserImages;
    //@ApiModelProperty("门店编码(门店或省仓店)")
    //private String depotCode;
}
